/**
 * @method table表格的标题
 */
export const columns = [
  {
      title: '序号',
      dataIndex: 'code',
      slotName: 'code',
      ellipsis: true,
  },
  {
      title: '名称',
      dataIndex: 'name',
      slotName: 'name',
      ellipsis: true,
  },
  {
      title: '类型',
      dataIndex: 'code',
      slotName: 'code',
      ellipsis: true,
  },
  {
      title: '期初余额',
      dataIndex: 'code',
      slotName: 'code',
      ellipsis: true,
  },
  {
      title: '本年增加数',
      dataIndex: 'code',
      slotName: 'code',
  },
  {
    title: '本年转回术',
    dataIndex: 'code',
    slotName: 'code',
},
{
    title: '期末余额',
    dataIndex: 'code',
    slotName: 'code',
},
{
    title: '最近测试结果',
    dataIndex: 'code',
    slotName: 'code',
},
  {
      title: '所属周期',
      dataIndex: 'code',
      slotName: 'code',
  },
  {
    title: '录入时间',
    dataIndex: 'code',
    slotName: 'code',
},
  {
      title: '操作',
      slotName: 'operator',
      width: 80,
      fixed: 'right',
  }
];

export const operatorData = [
  {  label: '修改',code: 'edit' },
]

export const  columsPDF  = [
    {
        title: '摘要',
        dataIndex: 'template_summary',
        slotName: 'template_summary',
        ellipsis: true,
        width: 100,
        align:'center'
    },
    {
        title: '科目名称',
        dataIndex: 'template_subject',
        slotName: 'template_subject',
        ellipsis: true,
        width: 110,
        align:'center'
    },
    {
        title: '借方金额',
        dataIndex: 'debit_amount',
        slotName: 'debit_amount',
        ellipsis: true,
        width: 100,
        align:'center'
    },
    {
        title: '贷方金额',
        dataIndex: 'credit_amount',
        slotName: 'credit_amount',
        ellipsis: true,
        width: 110,
        align:'center'
    },
]